// sass --watch sass:css
body,
input,
button,
select,
textarea,
table {
    font: 12px '微软雅黑', Arial, '宋体';
}

* {
    padding: 0;
    margin: 0;
}

a {
    color: #333;
    text-decoration: none;
    &:hover {
        color: #f70;
        text-decoration: underline;
    }
}

header {
    height: 168px;
    width: 100%;
    background-color: orange;
}

footer {
    height: 210px;
    background-color: orange;
}

.container {
    width: 100%;
    .con {
        width: 990px;
        margin: 0 auto;
        margin-bottom: 10px;
    }
    .con-img {
        height: 400px;
        display: flex;
        .img1 {
            width: 300px;
            height: 400px;
            margin-right: 1px;
            img {
                width: 100%;
                height: 100%;
            }
        }
        .img2 {
            width: 195px;
            margin-right: 1px;
            img {
                &:first-child {
                    width: 195px;
                    height: 259px;
                }
                &:last-child {
                    width: 195px;
                    height: 140px;
                }
            }
        }
        .img3 {
            width: 195px;
            margin-right: 1px;
            img {
                &:first-child {
                    width: 195px;
                    height: 140px;
                }
                &:last-child {
                    width: 195px;
                    height: 259px;
                }
            }
        }
    }
    .recom {
        margin-bottom: 30px;
        .recomnav {
            height: 26px;
            padding: 8px 0;
            border-bottom: 1px dotted #ebebeb;
            overflow: hidden;
            white-space: nowrap;
            .tap {
                display: inline-block;
                width: 60px;
                height: 26px;
                background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/top_classify.png) no-repeat 100px 100px;
                color: #fff;
                font-size: 14px;
                line-height: 26px;
                text-indent: 10px;
                font-weight: 700;
                cursor: default;
            }
            .tap1 {
                background-position: 0 0;
            }
            .tap2 {
                background-position: 0 -32px;
            }
            .tap3 {
                background-position: 0 -64px;
            }
            .item {
                font-size: 14px;
                padding: 0 12px;
                line-height: 14px;
                height: 14px;
                display: inline-block;
                text-align: center;
                border-right: 1px solid #ebebeb;
            }
        }
    }
    .marbox {
        display: flex;
        margin-bottom: 15px;
        .marbox-title {
            display: flex;
            height: 35px;
            border-bottom: 2px solid #ebebeb;
            justify-content: space-between;
            align-items: center;
            h2 {
                font-size: 20px;
            }
            .more {
                margin: 0 10px 0 0;
                font-size: 14px;
            }
        }
        .gift {
            width: 195px;
            margin-right: 10px;
            .gift-list {
                width: 195px;
                height: 528px;
                .gift-item {
                    display: flex;
                    width: 100%;
                    height: 78px;
                    margin-top: 10px;
                    overflow: hidden;
                    border-bottom: 1px dotted #ebebeb;
                    cursor: pointer;
                    box-sizing: border-box;
                    .img {
                        width: 70px;
                        height: 70px;
                        border-radius: 10px;
                        overflow: hidden;
                        margin-right: 10px;
                        img {
                            width: 100%;
                            height: 100%;
                        }
                    }
                    .desc {
                        height: 70px;
                        font-size: 14px;
                        line-height: 14px;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                        a {
                            display: block;
                            width: 58px;
                            height: 22px;
                            border: 1px solid #ccc;
                            line-height: 22px;
                            font-size: 12px;
                            text-align: center;
                            cursor: pointer;
                            border-radius: 4px;
                            margin-top: 20px;
                        }
                    }
                }
            }
        }
    }
    .news {
        width: 405px;
        height: 564px;
        font-size: 14px;
        .news-box {
            width: 405px;
            height: 528px;
            box-sizing: border-box;
            border: 1px solid #ebebeb;
            border-top: 0;
            padding: 15px 10px 0 10px;
            h3 {
                margin: 0;
                height: 27px;
                font-size: 18px;
                color: #f60;
                font-weight: 700;
                text-align: center;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
            }
            .side-new {
                height: 40px;
                line-height: 40px;
                font-size: 14px;
                text-align: center;
                border-bottom: 1px dotted #ebebeb;
                a {
                    width: 49%;
                    display: inline-block;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
            }
            .little-tit {
                height: 40px;
                line-height: 40px;
                padding-left: 20px;
                margin-left: 22px;
                font-size: 16px;
                font-weight: 700;
                border-bottom: 1px dotted #ebebeb;
                background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/lit_icon.png) no-repeat 0px 12px;
            }
            .news-list {
                padding-top: 5px;
                li {
                    line-height: 27px;
                    padding-left: 15px;
                    overflow: hidden;
                    background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/pcnew_ico.png) no-repeat 100px 100px;
                    background-position: -196px -284px;
                }
            }
            .news-img {
                margin: 12px 0;
                height: 155px;
                display: flex;
                div {
                    width: 186px;
                    height: 150px;
                    margin-right: 8px;
                    position: relative;
                    img {
                        width: 100%;
                        height: 100%;
                    }
                    p {
                        position: absolute;
                        width: 100%;
                        height: 24px;
                        line-height: 24px;
                        text-align: center;
                        color: #fff;
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        background: #000;
                        background: rgba(0, 0, 0, 0.5);
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                    }
                }
            }
        }
    }
    .newpro {
        width: 370px;
        margin-left: 10px;
        .box-text {
            height: 528px;
            position: relative;
            border-bottom: 1px dotted #f5f5f5;
            .current {
                display: block;
                width: 100%;
                text-align: center;
                position: absolute;
                left: 0;
                top: 0;
                tr {
                    width: 100%;
                    height: 38px;
                    font-size: 14px;
                    border-bottom: 1px dotted #ebebeb;
                    th {
                        background-color: #fdfdfd;
                        height: 32px;
                        line-height: 32px;
                        border-bottom: 1px solid #f5f5f5;
                        cursor: default;
                        color: #666;
                    }
                    th.time {
                        width: 55px;
                    }
                    th.name {
                        width: 135px;
                    }
                    th.type {
                        width: 75px;
                    }
                    th.downtr {
                        width: 44px;
                    }
                    td {
                        .btn {
                            display: block;
                            margin: 1px auto;
                            width: 24px;
                            height: 24px;
                            border-radius: 4px;
                            background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/pcnew_ico.png) no-repeat 100px 100px;
                            background-color: #f2f2f2;
                            overflow: hidden;
                            text-indent: -500px;
                            background-position: -87px -80px;
                        }
                    }
                }
            }
        }
    }
    .phone {
        width: 600px;
        height: 548px;
        .phone-game {
            display: flex;
            flex-wrap: wrap;
            justify-content: space-between;
            .item {
                width: 110px;
                height: 162px;
                display: flex;
                flex-direction: column;
                align-items: center;
                margin-top: 10px;
                img {
                    width: 90px;
                    height: 90px;
                    display: block;
                }
                p {
                    width: 90px;
                    font-size: 14px;
                    line-height: 28px;
                    text-align: center;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
                a {
                    display: block;
                    width: 66px;
                    height: 23px;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                    margin: 0 auto;
                    text-align: center;
                    line-height: 23px;
                }
            }
        }
    }
    .open {
        width: 374px;
        height: 558px;
        margin-left: 20px;
        .box-text {
            height: 520px;
            border-bottom: 1px dotted #f5f5f5;
            .current {
                display: block;
                width: 100%;
                text-align: center;
                tr {
                    border-top: 1px dotted #ebebeb;
                    border-bottom: none;
                    th.name {
                        width: 210px;
                    }
                    th.time {
                        width: 80px;
                    }
                    th.downtr {
                        width: 44px;
                    }
                }
            }
            .in-table {
                padding-left: 4px;
                background: #fdfdfd;
                border-left: 1px solid #f5f5f5;
                .in-table2 {
                    height: 486px;
                    background: #fff;
                    border-left: 1px solid #f5f5f5;
                    .title {
                        height: 42px;
                        line-height: 42px;
                        font-size: 16px;
                        font-weight: 700;
                        text-indent: 22px;
                        position: relative;
                        left: -13px;
                    }
                    .title1 {
                        background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/newgame_icon.png) no-repeat 0 -210px;
                    }
                    .title2 {
                        background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/newgame_icon.png) no-repeat -72px -181px;
                    }
                    .current {
                        text-align: center;
                        tr {
                            font-size: 14px;
                            display: block;
                            width: 100%;
                            border-top: 1px dotted #ebebeb;
                            border-bottom: 1px dotted #ebebeb;
                            td.name {
                                width: 210px;
                            }
                            td.time {
                                width: 80px;
                            }
                            td.downtr {
                                width: 44px;
                            }
                            td {
                                .gift {
                                    background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/lit_icon.png) no-repeat 3px -52px;
                                    background-color: #f2f2f2;
                                    background-position: 3px -25px;
                                    background-color: #ff622b;
                                }
                            }
                        }
                    }
                }
            }
        }
    }
    .ceping {
        width: 600px;
        .pic {
            padding: 15px 10px;
            border-bottom: 1px dotted #ebebeb;
            display: flex;
            justify-content: space-between;
            img {
                width: 180px;
                height: 134px;
            }
        }
        .desc {
            width: 590px;
            height: 336px;
            margin-top: 5px;
            padding-left: 10px;
            .desc-item {
                width: 580px;
                height: 84px;
                display: flex;
                justify-content: space-between;
                border-bottom: 1px dotted #ebebeb;
                img {
                    width: 70px;
                    height: 70px;
                }
                .wrap {
                    width: 500px;
                    .title {
                        font-size: 14px;
                        line-height: 14px;
                        margin-bottom: 10px;
                        white-space: nowrap;
                        text-overflow: ellipsis;
                        overflow: hidden;
                    }
                    .info {
                        line-height: 22px;
                        height: 44px;
                        overflow: hidden;
                        color: #666;
                        font-size: 12px;
                        a {
                            color: #f60;
                        }
                    }
                }
            }
        }
    }
    .order {
        width: 378px;
        height: 473px;
        margin-left: 20px;
        .box-text {
            height: 435px;
            border-bottom: 1px dotted #f5f5f5;
            .current {
                width: 100%;
                text-align: center;
                font-size: 14px;
                tr {
                    width: 100%;
                    height: 38px;
                    border-bottom: 1px dotted #ebebeb;
                    th.time {
                        width: 36px;
                    }
                    th.name {
                        width: 190px;
                    }
                    th.type {
                        width: 44px;
                    }
                    th.static {
                        width: 105px;
                    }
                }
            }
        }
    }
    .video {
        width: 600px;
        .videowrap {
            display: flex;
            height: 315px;
            justify-content: space-evenly;
            padding-top: 15px;
            .left {
                display: flex;
                flex-direction: column;
                justify-content: space-between;
                img {
                    width: 170px;
                    height: 95px;
                }
            }
            .right {
                display: flex;
                flex-direction: column;
                img {
                    width: 400px;
                    height: 225px;
                }
                a {
                    padding-left: 20px;
                    background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/lit_icon.png) no-repeat 1px -220px;
                    max-width: 100%;
                    margin-top: 10px;
                    font-size: 14px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
            }
        }
    }
    .gonglue {
        width: 380px;
        height: 360px;
        margin-left: 20px;
        .img {
            padding-top: 20px;
            img {
                width: 171px;
                height: 130px;
            }
        }
        ul {
            padding: 0 10px;
            width: 100%;
            list-style: none;
            li {
                padding-left: 15px;
                line-height: 28px;
                overflow: hidden;
                background: url(https://portal.ucgc.ucfly.com/public/images/pc/pc_new/pcnew_ico.png) no-repeat 100px 100px;
                background-position: -196px -284px;
                a {
                    font-size: 14px;
                    white-space: nowrap;
                    text-overflow: ellipsis;
                    overflow: hidden;
                }
            }
        }
    }
    .fenlei {
        width: 990px;
        height: 548px;
        padding-top: 15px;
        margin-bottom: 30px;
        .title {
            width: 100%;
            display: flex;
            justify-content: space-between;
            h2 {
                font-size: 20px;
            }
            a {
                font-size: 14px;
            }
        }
        .box {
            height: 420px;
            padding-top: 15px;
            display: flex;
            flex-wrap: wrap;
            .oneclass {
                box-sizing: border-box;
                width: 494px;
                height: 195px;
                border: 1px solid #f5f5f5;
                border-width: 0 1px 1px 0;
                padding: 3px;
                &:nth-child(2) {
                    border-width: 0 0 1px 0;
                }
                &:nth-child(4) {
                    border-width: 0 0 0 0;
                }
                &:nth-child(3) {
                    border-width: 0 1px 0 0;
                }
                .title {
                    border-left: 2px solid #f60;
                    height: 16px;
                    line-height: 16px;
                    margin-bottom: 5px;
                    h3 {
                        color: #333;
                    }
                }
                .list {
                    display: flex;
                    .item {
                        margin: 0 6px;
                        padding: 10px;
                        width: 90px;
                        height: 162px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        img {
                            width: 90px;
                            height: 90px;
                        }
                        p {
                            width: 90px;
                            font-size: 14px;
                            line-height: 28px;
                            text-align: center;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            overflow: hidden;
                        }
                        a {
                            display: block;
                            width: 66px;
                            height: 23px;
                            border: 1px solid #ccc;
                            border-radius: 4px;
                            margin: 0 auto;
                            text-align: center;
                            line-height: 23px;
                        }
                    }
                }
            }
        }
        .moreclass {
            height: 90px;
            display: flex;
            .title {
                width: 60px;
                height: 90px;
                margin-right: 10px;
                margin-left: 15px;
                border-left: 2px solid #ff6600;
                overflow: hidden;
                h2 {
                    width: 18px;
                    float: left;
                    font-size: 20px;
                    letter-spacing: 20px;
                    padding: 4px 10px 0 9px;
                    line-height: 21px;
                }
            }
            .icons {
                height: 90px;
                overflow: hidden;
                a {
                    float: left;
                    display: block;
                    font-size: 16px;
                    display: block;
                    width: 140px;
                    height: 40px;
                    margin: 0 14px 10px 0;
                    line-height: 40px;
                    text-align: center;
                    background: #f5f5f5;
                    transition: all .5s;
                    &:hover {
                        background: #ff8a00;
                        color: #fff;
                    }
                }
            }
        }
    }
    .link {
        height: 153px;
        .linktitle {
            height: 35px;
            border-bottom: 2px solid #ebebeb;
            background-color: #f5f5f5;
            .tag-ul {
                width: 70%;
                height: 100%;
                list-style: none;
                float: left;
                li {
                    height: 100%;
                    float: left;
                    padding: 0 15px;
                    font-size: 16px;
                    font-weight: 700;
                    line-height: 35px;
                    cursor: pointer;
                }
                li.current {
                    color: #f60;
                    border-bottom: 2px solid #f60;
                }
            }
        }
        .linklist {
            padding: 10px 0;
            a {
                display: inline-block;
                padding: 0 6px;
                margin: 5px 0;
                border-right: 1px solid #dbdbdb;
                line-height: 14px;
                height: 14px;
            }
        }
        .linklist2 {
            display: none;
        }
    }
}

.footer {
    color: #808080;
    padding: 15px 0;
    border-top: 1px solid #f5f5f5;
    font-size: 12px;
    margin: 0 auto;
    line-height: 24px;
    text-align: center;
    width: 1000px;
    .link.cf {
        a {
            margin: 0 7px;
        }
    }
}